home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Celestin Apprentice 7
/
Apprentice-Release7.iso
/
Environments
/
Clean 1.2.4
/
PowerMacInterface
/
appleevents.dcl
next >
Wrap
Text File
|
1996-03-01
|
1KB
|
34 lines
definition module appleevents;
TypeApplSignature :== 0x7369676E; // 'sign'
KCoreEventClass :== 0x61657674; // 'aevt'
KAEMiscStandards :== 0x6D697363; // 'misc'
KAEQuitApplication :== 0x71756974; // 'quit'
KAEDoScript :== 0x646F7363; // 'dosc'
KeyDirectObject :== 0x2D2D2D2D; // '----'
TypeChar :== 0x54455854; // 'TEXT'
KeyErrorNumber :== 0x6572726E; // 'errn'
KeyErrorString :== 0x65727273; // 'errs'
TypeLongInteger :== 0x6C6F6E67; // 'long'
SizeOfAEDesc :== 8;
SizeOfAppleEvent :== 8;
KAutoGenerateReturnID :== -1;
KAnyTransactionID :== 0;
KAENoReply :== 1;
KAEWaitReply :== 3;
KAENormalPriority :== 0;
KNoTimeOut :== -2;
:: AEDescPtr :== Int;
:: AppleEventPtr :== Int;
AECreateDesc :: !Int !{#Char} !AEDescPtr -> Int;
AECreateAppleEvent :: !Int !Int !AEDescPtr !Int !Int !AppleEventPtr -> !Int;
AEPutParamPtr :: !AppleEventPtr !Int !Int !{#Char} -> Int;
AESend :: !AppleEventPtr !AppleEventPtr !Int !Int !Int !Int !Int -> Int;
AEGetIntParamPtr :: !AppleEventPtr !Int !Int -> (!Int,!Int,!Int,!Int);
AEGetStringParamPtr :: !AppleEventPtr !Int !Int !{#Char} -> (!Int,!Int,!Int);
AEDisposeDesc :: !AEDescPtr -> Int;